package com.clgk.wechatmall.common.sql;

import java.util.List;

public interface CommonDao {

	
	public <T> Long insert(T t);

	public <T> void batchAdd(List<T> list);


	public <T> Integer update(T t) ;

	public <T> Integer delete(T t) ;

	public <T> List<T> query(T t,Class<T> cla,Page page);
}
